home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19971216-19980424 / 000059_news@newsmaster….columbia.edu _Tue Jan 6 02:12:16 1998.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id CAA21697
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Tue, 6 Jan 1998 02:12:15 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id CAA06228
  7.     for kermit.misc@watsun; Tue, 6 Jan 1998 02:12:15 -0500 (EST)
  8. Path: news.columbia.edu!sol.ctr.columbia.edu!spool.mu.edu!uwm.edu!vixen.cso.uiuc.edu!howland.erols.net!news.sgi.com!wrdiss1.robins.af.mil!wpdiss1.wpafb.af.mil!oodiss1.hill.af.mil!news.cc.utah.edu!news.cs.utah.edu!cc.usu.edu!jrd
  9. From: jrd@cc.usu.edu (Joe Doupnik)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: Delete and Filespec Question.clo
  12. Message-ID: <HmRFGgD0NEbz@cc.usu.edu>
  13. Date: 5 Jan 98 21:33:55 MDT
  14. References: <68phdt$4hu$1@goanna.cs.rmit.edu.au>
  15. Organization: Utah State University
  16. Lines: 28
  17. Xref: news.columbia.edu comp.protocols.kermit.misc:8228
  18.  
  19. In article <68phdt$4hu$1@goanna.cs.rmit.edu.au>, rwi@yallara.cs.rmit.edu.au (Ross Irvine) writes:
  20. > More Questions.. :)
  21. > I'm using Kermit for DOS 3.15.
  22. > Doing a del c:\temp\*.* prompts for a "Are you sure" is there anyway to 
  23. > return OFF this prompt?
  24. > Also is there a way to get a pathname out of a string.
  25. > Eg I've written something that will go through a directory (passed as a 
  26. > parameter) and send all the files, then delete them after it's finished. 
  27. > The problem is when loading an array with the filename using \ffile() and 
  28. > \fnextfile, the pathname is not returned with the \fnextfile call. This 
  29. > means if I just cylce through the array to send the files and my current 
  30. > kermit directory isn't the correct one it won't be able to find the files.
  31. ----------
  32.     The Are you sure message is from DOS, not from Kermit. Your delete
  33. command is passed to DOS for intepretation.
  34.     Parsing paths from files is not nearly as simple as it looks. Recall,
  35. the string might be just a list of directories with no filename at the end,
  36. or a filename is at the end but had no extension, or wild cards are present,
  37. etc. And it may be rooted or relative, and so on. CKermit and MS-DOS Kermit
  38. in development have tree walking features where components can be tested
  39. for file-ness via the o/s. MSK's does not use or need arrays because DOS
  40. provides methods to remember one's place. Lists of files and directories
  41. are available this way. Please see MSK 3.16 Alpha 1 (alpha level development)
  42. on kermit.columbia.edu.
  43.     Joe D.